package club.baimahu.pencil.domain.entity.account;

import java.math.BigDecimal;

public abstract class AbstractAccountManager implements AccountManager{


    public boolean pay(BigDecimal money,AccountManager accountManager) {
        return pay(money,accountManager.getIncomeAccount());
    }

    public boolean income(BigDecimal money,AccountManager accountManager) {
        return income(money,accountManager.getPayAccount());
    }

}
